A React Interview Question On Counter